package com.fwpsl.spring.Controller;

import com.fwpsl.spring.Client.CustomerServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/fw-service-provider")
public class CustomerController {

    @Autowired
    private CustomerServer customerServer;

    @RequestMapping("/welcome")
    public String welcome() {
        return customerServer.welcome();
    }
}
